Skip to content

OAuth2 VSCode#1799

Open
isc-klu wants to merge 20 commits into
intersystems-community:masterfrom
isc-klu:oauth2
Open

OAuth2 VSCode#1799
isc-klu wants to merge 20 commits into
intersystems-community:masterfrom
isc-klu:oauth2

Conversation

@isc-klu

@isc-klu isc-klu commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

This PR refactors authentication throughout the extension to use the Authorization class from @intersystems-community/intersystems-servermanager instead of directly managing username/password strings.

Key changes:

  • Replace username/password properties with Authorization type in connection configurations
  • Use auth.username and auth.accessToken instead of direct credential access
  • Leverage auth.resolve() and auth.httpAuthorizationHeader for authentication checks
  • Update REST debug panel and WebSocket terminal to use authorization methods
  • Remove isUnauthenticated() helper in favor of auth.resolved() checks
  • This improves security by centralizing credential handling through Server Manager's authorization abstraction and prepares the codebase for future OAuth2 support.

@isc-klu isc-klu marked this pull request as ready for review July 2, 2026 18:46
@isc-klu isc-klu requested a review from isc-bsaviano as a code owner July 2, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant